const env = import.meta.env.MODE === 'production' ? 'production' : 'development';

const apiUrl = {
  development: '/api',
  production: '/yegoo/haocai',
}[env];

export const isDev = env === 'development';
export const apiBasePath = apiUrl;
